package com.tt.fashionWebSite.domain;

import javax.persistence.*;
import java.io.Serializable;

@SuppressWarnings("serial")
@Entity
@Table(name = "loai_dm")
@NamedQueries({
        @NamedQuery(name = "getProductCategory",query = "SELECT u FROM LoaiDanhMuc u") ,
})
public class LoaiDanhMuc implements Serializable {

    public static final String GET_PRODUCT_CATEGORY = "getProductCategory";

    @Id
    @Column(name = "MA_LOAI")
    private String maLoai;

    @Column(name = "TEN_LOAI")
    private String tenLoai;

    public String getMaLoai() {
        return maLoai;
    }

    public void setMaLoai(String maLoai) {
        this.maLoai = maLoai;
    }

    public String getTenLoai() {
        return tenLoai;
    }

    public void setTenLoai(String tenLoai) {
        this.tenLoai = tenLoai;
    }
}
